package com.orange.score.model.league;

import java.util.List;

public class League
{
  public String countryId;
  public boolean isTop = true;
  public String leagueId;
  public int matchCount = 0;
  public String name;
  public List<String> seasonList;
  public String shortName;
  public int type;

  public League(String paramString1, String paramString2, String paramString3)
  {
    this.leagueId = paramString1;
    this.name = paramString2;
    if ((paramString3 != null) && (paramString3.length() > 0))
    {
      if (Integer.parseInt(paramString3) != 1)
        break label53;
      i = 1;
    }
    while (true)
    {
      this.isTop = i;
      return;
      label53: i = 0;
    }
  }

  public String getCountryId()
  {
    return this.countryId;
  }

  public String getLeagueId()
  {
    return this.leagueId;
  }

  public String getLeagueName()
  {
    return this.name;
  }

  public int getMatchCount()
  {
    return this.matchCount;
  }

  public String getName()
  {
    return this.name;
  }

  public List<String> getSeasonList()
  {
    return this.seasonList;
  }

  public String getShortName()
  {
    return this.shortName;
  }

  public int getType()
  {
    return this.type;
  }

  public void increaseMatchCount()
  {
    this.matchCount = (1 + this.matchCount);
  }

  public boolean isTopLeague()
  {
    return this.isTop;
  }

  public void setCountryId(String paramString)
  {
    this.countryId = paramString;
  }

  public void setLeagueId(String paramString)
  {
    this.leagueId = paramString;
  }

  public void setName(String paramString)
  {
    this.name = paramString;
  }

  public void setSeasonList(List<String> paramList)
  {
    this.seasonList = paramList;
  }

  public void setShortName(String paramString)
  {
    this.shortName = paramString;
  }

  public void setType(int paramInt)
  {
    this.type = paramInt;
  }

  public String toString()
  {
    return "League [isTop=" + this.isTop + ", leagueId=" + this.leagueId + ", name=" + this.name + "]";
  }
}